import type { Metadata } from 'next'
import { AntdRegistry } from '@ant-design/nextjs-registry'
import { Inter } from 'next/font/google'
import './styles/globals.css'

const inter = Inter({ subsets: ['latin'] })

export const metadata: Metadata = {
  title: '北京稻香村官方网站',
  description:
    '自公元1895年金陵人郭玉生南菁北迁、落户前门观音寺，到1983年老掌柜刘振英勇担重任、小胡同里艰难复业，再到现任掌门人毕国才继往开来、开辟发展新篇章，“北京稻香村”已在京城薪火相传悠悠百年。'
}

export default function RootLayout({
  children
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en">
      <body className={`h-full ${inter.className}`}>
        <AntdRegistry>{children}</AntdRegistry>
      </body>
    </html>
  )
}
